﻿<!--
Majesty of Omega - The next evolution of macro management space strategy

Copyright 2007 André Claaßen

This file is protected by the terms and conditions of the
Microsoft Community License (Ms-CL 1.1), a copy of which should
have been distributed along with this software. If not,
you may find the license information at the following URL:

http://www.microsoft.com/resources/sharedsource/licensingbasics/communitylicense.mspx
-->
<Page
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	x:Class="Majesty_of_Omega.GUI.Pages.Load.LoadPage"
	x:Name="Page"
	WindowTitle="Load Game"
	FlowDirection="LeftToRight"
	Width="Auto" Height="Auto"
	xmlns:Majesty_of_Omega_GUI_Pages_Parts="clr-namespace:Majesty_of_Omega.GUI.Pages.Parts" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignWidth="1023.44" d:DesignHeight="745.6" 
    xmlns:Majesty_of_Omega_GUI_Commands="clr-namespace:Majesty_of_Omega.GUI.Commands" 
    >
    <Grid x:Name="LayoutRoot">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="0.111*"/>
			<ColumnDefinition Width="0.375*"/>
			<ColumnDefinition Width="0.367*"/>
			<ColumnDefinition Width="0.147*"/>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="0.145*"/>
			<RowDefinition Height="0.745*"/>
			<RowDefinition Height="0.11*"/>
		</Grid.RowDefinitions>
		<Viewbox Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="1" Stretch="Fill">
			<Grid Width="759.39448" Height="520.536">
                <TextBlock Text="Load Game"  Style="{DynamicResource SubWindowTitleStyle}" />
                <Majesty_of_Omega_GUI_Pages_Parts:SavedGamesGridPart x:Name="SavedGamesGrid" Margin="0,57.436,0,0" DataContext="{Binding Source={StaticResource GameManagerDS}}" />
			</Grid>
		</Viewbox>
		<StackPanel Margin="0,0,8,8" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="2" x:Name="ButtonStack" Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Bottom" Width="Auto">
			<Button Content="Load" Margin="16,0,16,0" Style="{DynamicResource GlassButtonStyle}" Width="141" Height="36"/>
            <Button Content="Cancel" Command="Majesty_of_Omega_GUI_Commands:MainCommands.CancelSubFrameCommand" Margin="16,0,16,0" Style="{DynamicResource GlassButtonStyle}" Width="141" Height="36"/>
        </StackPanel>
	</Grid>
</Page>